#include "qmytool.h"

QMyTool::QMyTool(QObject *parent) :
    QObject(parent),Container(0)
{
}
QMyTool::~QMyTool()
{

}

bool QMyTool::SetContainer(QToolGraphicsScene * container)
{
    if(container)
    {
        Container=container;
        return true;
    }
    return false;
}

bool QMyTool::SetController(centralController* c)
{
	if(c)
	{
		controller=c;
		return true;
	}
	return false;
}